package org.xxx.epms.result.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.xxx.epms.result.models.GridCity;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lb
 * @since 2024-06-08
 */
@Mapper
public interface GridCityMapper extends BaseMapper<GridCity> {

    //获取城市数量
    @Select("SELECT COUNT(*) FROM grid_city")
    public int getCityCount();
}
